<template>
  <!-- 我的资产 -->
  <div class="myProperty-view youke">
    <Navs left></Navs>
    <Main>
      <template slot="main">
      <div class="main_total">
          <div class="total_amt">{{totalAmt}}</div>
          <div class="total_tips">总资产(元)</div>
          <div class="total_chart">
              <div class="chart_pic"></div>
              <div class="chart_tips">
                  <div style="margin-top:13px;"><i></i>可用&nbsp;&nbsp;0.0</div>
                  <div><i></i>冻结&nbsp;&nbsp;0.0</div>
              </div>
          </div>
      </div>    
      <div class="main_list">
          <div class="list_header">资产明细</div>
          <div class="list_content">
             暂时没有相关明细
          </div>
      </div>
      </template>
    </Main>
    <!-- <Tabbar></Tabbar> -->
  </div>
</template>

<script type="text/ecmascript-6">
export default {
  //接收父级传递的参数
  props: [],
  //监听数据变化
  watch: {},
  data() {
    return {
        totalAmt:'0.00',
        list:[
            {},{},{}
        ]
    };
  },
  //实例初始化之前触发事件
  beforeCreate() {},
  //实例化之后触发事件
  created() {},
  //实时监控data参数数据变化
  computed: {},
  //模板组件
  components: {},
  //执行方法
  methods: {},
  mounted() {}
  //路由退出时候调用
  //beforeRouteLeave(to, from, next){next()}
};
</script>

<style scoped lang="less">
.myProperty-view{
    box-sizing: border-box;
}
.main_total{
    width: 690/32rem;
    height: 380/32rem;
    background-color:#fff;
    margin: 30/32rem;
    padding: 42/32rem;
    box-sizing: border-box;
    border: 1px solid #efefef;
    .total_amt {
        width: 258/32rem;
        height: 45/32rem;
        font-size: 45/32rem;
        color: #212121;
        text-align: left;
    }
    .total_tips {
        margin: 23/32rem 0;
        font-size: 25/32rem;
        color: #999;
        
    }
    .total_chart {
        border-top: 1px solid #efefef;
        padding-top: 26/32rem;
        height: 150/32rem;
        position: relative;
        padding-left: 350/32rem;
    }
}
.main_list {
    width: 100%;
    background-color: #fff;
    .list_header {
        box-sizing: border-box;
        height: 80/32rem;
        font-size: 26/32rem;
        line-height: 80/32rem;
        padding-left: 28/32rem;
        border-top: 1px solid #ececec;
        border-bottom: 1px solid #ececec;
    }
    .content_item {
        box-sizing: border-box;
        display: flex;
        width: 100%;
        height: 120/32rem;
        padding: 18/32rem 28/32rem;
        border-bottom: 1px solid #efefef;
        .fl {
            width: 280/32rem;
            text-align: left;
            .fl_type {
                font-size: 30/32rem;
                line-height: 48/32rem;
                color: #212121;
            }
            .fl_datetime{
                font-size: 26/32rem;
                color: #999999;
            }
        }
        .fr {
            flex: 1;
            text-align: right;
            .fr_type {
                font-size: 26/32rem;
                line-height: 38/32rem;
                color: #212121;
            }
            .fr_amt {
                font-size: 32/32rem;
                line-height: 45/32rem;
                color: #212121;
                &.minus {
	                color: #e83626;
                }
            }
        }
    }
    
}
.main_tip {
    margin-top: 30/32rem;
    text-align: center;
    font-size: 26/32rem;
    color: #999;
}
.chart_pic{
    width: 350/32rem;
    height: 4.6875rem;
    float: left;
    background: red;
    position: absolute;
    left: 0px;
    top: 0.8125rem;

}
.chart_tips{
      width:100%;
    height: 4.6875rem;
    float: right;

    i{
        display: inline-block;
        width: 8px;
        height: 8px;
        background: #3377ff;
        vertical-align:middle;
        margin-right: 16/32rem;
    }

}
.list_content{
    text-align: center;
    padding-top: 40px;
    color: #bbbbbb;
    background: #f8f8f8;
}
</style>
